package com.sise.原型模式;

/**
 * 作者：idea
 * 日期：2018/5/1
 * 描述：
 */
public class Test {
    public static void main(String[] args) {
        DogClone dogClone=new DogClone();
        dogClone.legCount=4;
        System.out.println("dogclone's leg:"+dogClone.legCount);
        System.out.println("dogclone's leg"+dogClone.dog.leg);
    }
}
